package com.gxa.modules.service;

import com.gxa.common.vo.JsonResult;
import com.gxa.common.vo.PageRecv;
import com.gxa.common.vo.ResultVo;
import com.gxa.modules.pojo.LoanSearch;
import com.gxa.modules.pojo.Loanafter_Payback;
import com.gxa.modules.pojo.Loanafter_Warning;

import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * User: 张剑宇
 * Date: 2021/12/27 9:58
 * Description:
 * Version: V1.0
 */
public interface Loanafter_PayBackService {
    JsonResult queryPayBack(PageRecv<LoanSearch> pageRecv);
    ResultVo queryEarlyPayBack(LoanSearch loanSearch);
    ResultVo addPayBack(String startdate, BigDecimal interestrate,BigDecimal principle,Integer timelimit,Integer loan_id);

    ResultVo updatePayBack(Loanafter_Payback loanafter_payback);
    ResultVo updateEarlyPayBack(LoanSearch loanSearch);

    JsonResult queryPayBackLoan(PageRecv<LoanSearch> pageRecv);
}

